package com.ruoyi.project.bas.product.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 物品资料对象 bas_product
 * 
 * @author ruoyi
 * @date 2023-04-04
 */
public class BasProduct extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 物品guid */
//    @Excel(name = "物品guid")
    private String productGuid;

    /** 物品编码 */
    @Excel(name = "存货编码")
    private String productId;

    /** 存货大类编码 */
    @Excel(name = "三级分类编码")
    private String parentId;

    /** 物料分类 */
    @Excel(name = "三级分类名称")
    private String productClassification;

    /** 物资名称 */
    @Excel(name = "物资名称")
    private String productName;

    /** 物料型号 */
    @Excel(name = "物料型号")
    private String model;

    /** 物料规格 */
    @Excel(name = "物料规格")
    private String spec;

    /** 物料简称 */
    @Excel(name = "物料简称")
    private String simpleName;

    /** 原系统编码 */
    @Excel(name = "命名规则")
    private String originalSystemCode;

    /** 归类分明 */
    @Excel(name = "归类分明")
    private String productsUsingFinished;

    /** 单位 */
    @Excel(name = "单位")
    private String productUnit;

    /** 是否分比例号 */
//    @Excel(name = "是否分比例号")
    private String proportionNum;

    /** 比例号 */
//    @Excel(name = "比例号")
    private String proportions;

    /** 主仓库 */
    @Excel(name = "规格说明")
    private String mainWarehouse;

    /** 是否质检 */
//    @Excel(name = "是否质检")
    private String inspection;

    /** 物料类型 */
//    @Excel(name = "物料类型")
    private String productType;

    /** 物料形态 */
//    @Excel(name = "物料形态")
    private String productMaterial;


    @Excel(name = "其他说明")
    private String remark;

    /**  */
//    @Excel(name = "")
    private String spare1;

    /**  */
//    @Excel(name = "")
    private String spare2;

    private String unit;

    private String operationType;

    private String available;

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getOperationType() {
        return operationType;
    }

    public void setOperationType(String operationType) {
        this.operationType = operationType;
    }

    public String getAvailable() {
        return available;
    }

    public void setAvailable(String available) {
        this.available = available;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public void setProductGuid(String productGuid)
    {
        this.productGuid = productGuid;
    }

    public String getProductGuid()
    {
        return productGuid;
    }
    public void setProductId(String productId)
    {
        this.productId = productId;
    }

    public String getProductId()
    {
        return productId;
    }
    public void setParentId(String parentId)
    {
        this.parentId = parentId;
    }

    public String getParentId()
    {
        return parentId;
    }
    public void setProductClassification(String productClassification)
    {
        this.productClassification = productClassification;
    }

    public String getProductClassification()
    {
        return productClassification;
    }
    public void setProductName(String productName)
    {
        this.productName = productName;
    }

    public String getProductName()
    {
        return productName;
    }
    public void setModel(String model)
    {
        this.model = model;
    }

    public String getModel()
    {
        return model;
    }
    public void setSpec(String spec)
    {
        this.spec = spec;
    }

    public String getSpec()
    {
        return spec;
    }
    public void setSimpleName(String simpleName)
    {
        this.simpleName = simpleName;
    }

    public String getSimpleName()
    {
        return simpleName;
    }
    public void setOriginalSystemCode(String originalSystemCode)
    {
        this.originalSystemCode = originalSystemCode;
    }

    public String getOriginalSystemCode()
    {
        return originalSystemCode;
    }
    public void setProductsUsingFinished(String productsUsingFinished)
    {
        this.productsUsingFinished = productsUsingFinished;
    }

    public String getProductsUsingFinished()
    {
        return productsUsingFinished;
    }
    public void setProductUnit(String productUnit)
    {
        this.productUnit = productUnit;
    }

    public String getProductUnit()
    {
        return productUnit;
    }
    public void setProportionNum(String proportionNum)
    {
        this.proportionNum = proportionNum;
    }

    public String getProportionNum()
    {
        return proportionNum;
    }
    public void setProportions(String proportions)
    {
        this.proportions = proportions;
    }

    public String getProportions()
    {
        return proportions;
    }
    public void setMainWarehouse(String mainWarehouse)
    {
        this.mainWarehouse = mainWarehouse;
    }

    public String getMainWarehouse()
    {
        return mainWarehouse;
    }
    public void setInspection(String inspection)
    {
        this.inspection = inspection;
    }

    public String getInspection()
    {
        return inspection;
    }
    public void setProductType(String productType)
    {
        this.productType = productType;
    }

    public String getProductType()
    {
        return productType;
    }
    public void setProductMaterial(String productMaterial)
    {
        this.productMaterial = productMaterial;
    }

    public String getProductMaterial()
    {
        return productMaterial;
    }
    public void setSpare1(String spare1)
    {
        this.spare1 = spare1;
    }

    public String getSpare1()
    {
        return spare1;
    }
    public void setSpare2(String spare2)
    {
        this.spare2 = spare2;
    }

    public String getSpare2()
    {
        return spare2;
    }

    @Override
    public String toString() {
        return "BasProduct{" +
                "productGuid='" + productGuid + '\'' +
                ", productId='" + productId + '\'' +
                ", parentId='" + parentId + '\'' +
                ", productClassification='" + productClassification + '\'' +
                ", productName='" + productName + '\'' +
                ", model='" + model + '\'' +
                ", spec='" + spec + '\'' +
                ", simpleName='" + simpleName + '\'' +
                ", originalSystemCode='" + originalSystemCode + '\'' +
                ", productsUsingFinished='" + productsUsingFinished + '\'' +
                ", productUnit='" + productUnit + '\'' +
                ", proportionNum='" + proportionNum + '\'' +
                ", proportions='" + proportions + '\'' +
                ", mainWarehouse='" + mainWarehouse + '\'' +
                ", inspection='" + inspection + '\'' +
                ", productType='" + productType + '\'' +
                ", productMaterial='" + productMaterial + '\'' +
                ", remark='" + remark + '\'' +
                ", spare1='" + spare1 + '\'' +
                ", spare2='" + spare2 + '\'' +
                ", unit='" + unit + '\'' +
                ", operationType='" + operationType + '\'' +
                ", available='" + available + '\'' +
                '}';
    }
}
